package com.usian.service;

import com.usian.pojo.CatalogVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Email 2781921355@qq.com
 * @Author 马忠豪
 * @Date 2023/8/25 18:33
 */
@FeignClient("day092")
public interface CatalogService {
    @RequestMapping("catalog/getcatalog")
    public List<CatalogVo> getcatalog(@RequestParam("token") String token);
    @RequestMapping("ConsumerCourseCatalog/addCatalogId")
    public Integer addCatalogId(@RequestParam("id") Integer id, @RequestParam("token") String token);
    @RequestMapping("ConsumerCourseCatalog/findProgress")
    public Integer findProgress(@RequestParam("token") String token);
}
